﻿namespace SharePointUtilitiesForDevelopers.Repository
{
    /// <summary>
    /// Specifies the degree to which a <see cref="SharePointList"/> object graph should be loaded.
    /// </summary>
    public class SharePointListLoadOptions
    {
        /// <summary>
        /// Gets or sets a value indicating whether list content types should be loaded.
        /// </summary>
        /// <value><c>true</c> if list content types should be loaded; otherwise, <c>false</c>.</value>
        public bool ContentTypes { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether list fields should be loaded.
        /// </summary>
        /// <value><c>true</c> if list fields should be loaded; otherwise, <c>false</c>.</value>
        public bool Fields { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether list views should be loaded.
        /// </summary>
        /// <value><c>true</c> if views should be loaded; otherwise, <c>false</c>.</value>
        public bool Views { get; set; }
    }
}